body {
    margin: 0;
    font-family: 'Microsoft YaHei', sans-serif;
    background: #fff;
    color: #333;
  }
  
  header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 20px 50px;
    background-color: rgba(255, 255, 200, 0);
    position: relative;
    z-index: 10;
  }
  
  .logo {
    font-weight: bold;
    color: #f89b25;
    font-size: 20px;
  }
  
  nav ul {
    display: flex;
    list-style: none;
    justify-content: flex-start;
    align-items: center;
    margin-left: 20px;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    text-decoration: none;
    color: #54251e;
    font-weight: 500;
    padding: 5px 0;
    transition: color 0.3s;
}

nav ul li a:hover, nav ul li a.active {
    color: #febf66;
    font-weight: bold;
}
  
.user-actions {
    display: flex;
    align-items: center;
    flex-grow: 1;
    justify-content: flex-end;
    margin-left: auto;
}

.profile-btn {
    display: flex;
    align-items: center;
    margin-right: 20px;
    text-decoration: none;
    color: #eb9b3e;
    background-color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background-color 0.3s;
    font-weight: bold;
}

.profile-btn img {
    width: 20px;
    height: 20px;
    margin-right: 5px;
}

.login-btn {
    background-color: #eb9b3e;
    color: white;
    padding: 6px 10px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s;
    font-weight: bold;
}

.login-btn:hover {
    background-color: #FF7F00;
}
  
  .container {
    display: flex;
  flex-direction: row;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  gap: 40px; /* 移除间隙或减小间隙 */
  }
  
  .map-container {
    width: 40%;
    overflow: hidden;
    height: 100vh;
  }
  
  #map {
    width: 100%;
    height: 100%;
  }

  .info-panel {
    width: 60%;
    margin: 0;
  }
  
  .info-panel h1 {
    font-size: 40px;
    margin-bottom: 10px;
    color: #4a1c1c;
  }
  
  .tag {
    display: inline-block;
    background-color: #ffb950;
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: bold;
    margin-bottom: 15px;
  }
  
  .info-panel p {
    line-height: 1.8;
    margin: 10px 0;
  }
  
  .video-section {
    margin-top: 20px;
  }
  
  .video-title {
    background-color: #ffb950;
    display: inline-block;
    padding: 6px 15px;
    border-radius: 20px;
    color: white;
    font-weight: bold;
    margin-bottom: 15px;
  }
  
  .video-list {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
  }
  
  .video-item {
    width: 30%;
  }
  
  .video-item img {
    width: 100%;
    border-radius: 10px;
  }
  
  .video-item p {
    text-align: center;
    margin-top: 8px;
    font-size: 14px;
  }
  
    .videoSection {
  position: relative;
  width: 100%;
  margin-top: 20px;
}
.videoContainer {
  width: 100%;
  display: block;
  border-radius: 8px;
}
.infoPanel {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 2;
  background: rgba(255,255,255,0.85);
  border-radius: 8px;
  padding: 12px 18px;
  min-width: 220px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.popup {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.3);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.popup-content {
  display: flex;
  flex-direction: column; /* 竖向排布 */
  background: #fff;
  padding: 32px 48px;
  border-radius: 12px;
  font-size: 22px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
  text-align: center;
  max-width: 600px; /* 限制最大宽度 */
  width: 90%; /* 自适应小屏 */
  word-wrap: break-word; /* 自动换行 */
  overflow-wrap: break-word; /* 防止长词溢出 */
}
.popup-content img {
  width: 100%;         /* 图片宽度随容器自适应 */
  height: auto;
  margin-top: 20px;
  border-radius: 8px;
}

.close-btn {
  margin-top: 18px;
  padding: 6px 24px;
  font-size: 16px;
  border-radius: 6px;
  border: none;
  background: #ffb950;
  color: #fff;
  cursor: pointer;
}